package com.skt.common_hr.training.events
{
	import flash.events.Event;

	public class SelCourseEvent extends Event
	{
		public static const SELECTED_COURSE:String = "selectedCourse";
	
		public var courseCode:String;
		public var startDt:Date;
		public var endDt:Date;
		
		public function SelCourseEvent(code:String, sdt:Date, edt:Date)
		{
			super(SELECTED_COURSE, false, false);
			trace("Event sdt : " + new Date(sdt));
			trace("Event edt : " + edt);
			courseCode = code;
			startDt = sdt;
			endDt = edt;
		}
		
		override public function clone():Event
		{
			return new SelCourseEvent(courseCode, startDt, endDt);
		}
	}
}